package com.chinacoal.microservice.impl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.chinacoal.microservice.api.model.QueryUtaskCatParam;
import com.chinacoal.microservice.api.model.entity.UtaskCatEntity;

public interface UtaskCatMapper extends BaseMapper<UtaskCatEntity> {
	
	public List<UtaskCatEntity> findList(Page<UtaskCatEntity> utaskCatPage, QueryUtaskCatParam param) throws Exception;
	
	public List<UtaskCatEntity> getTaskCatBySysId(@Param("sysId") String sysId) throws Exception;
	
	public List<UtaskCatEntity> getLowerTaskCat(@Param("upCatId") String upCatId) throws Exception;
	
	public Integer getTaskCatCount(@Param("sysId") String sysId, @Param("typeCode") String typeCode) throws Exception;

}
